#define _CRT_SECURE_NO_WARNINGS
#include"string.h"
int main()
{
	shen::string s1("xxxx");
	/*cin >> s1;
	cout << s1 << endl;*/

	shen::string s2("hello world");
	//s1.swap(s2);
	//swap(s1, s2);
	shen::string s3(s1);
	s1 = s2;
	cout << s1.c_str() << endl;
	cout << s2.c_str() << endl;
	return 0;
}